import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'lib-flexible/flexible.js'
import ECharts from 'vue-echarts'
import { use } from "echarts/core"
import { ImagePreview } from 'vant';
import {
    CanvasRenderer
  } from 'echarts/renderers'
  import {
    LineChart
  } from 'echarts/charts'
  import {
    GridComponent,
    TooltipComponent
  } from 'echarts/components'
  
  use([
    CanvasRenderer,
    LineChart,
    GridComponent,
    TooltipComponent
  ])

createApp(App).use(router).use(store).component('v-chart', ECharts).use(ImagePreview).mount('#app')
